#define _CRT_SECURE_NO_WARNINGS 1


#include "SLlist.h"


void Text1()
{
	SLNode* SLT1 = NULL;
	SLNode* SLT2 = NULL;
	SLTPushBack(&SLT1, 1);
	SLTPushBack(&SLT1, 2);
	SLTPushBack(&SLT1, 3);
	SLTPushBack(&SLT1, 4);
	SLTPrint(SLT1);

	SLTPushFront(&SLT1, 5);
	SLTPrint(SLT1);
	SLTPopBack(&SLT1);
	SLTPrint(SLT1);
	SLTPopFront(&SLT1);
	SLTPrint(SLT1);
	SLT2 = SLTFind(SLT1, 2);
	SLTPrint(SLT2);
}


int main()
{
	Text1();
	return 0;
}